package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

/**
 * 对象 yanchu_user_info
 * 
 * @date 2023-10-09
 */
public class YanchuUserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String userName;

    /** 成人标识，0:成人，1:儿童 */
    @Excel(name = "成人标识，0:成人，1:儿童")
    private Integer adultFlag;

    /** 性别，0:未知，1:男，2:女 */
    @Excel(name = "性别，0:未知，1:男，2:女")
    private Integer sex;

    /** 证件类型，0:未知，1：身份证，2：护照 */
    @Excel(name = "证件类型，0:未知，1：身份证，2：护照 3港澳台通行证及居住证")
    private Integer idType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String idNumber;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setAdultFlag(Integer adultFlag) 
    {
        this.adultFlag = adultFlag;
    }

    public Integer getAdultFlag() 
    {
        return adultFlag;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setIdType(Integer idType) 
    {
        this.idType = idType;
    }

    public Integer getIdType() 
    {
        return idType;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("adultFlag", getAdultFlag())
            .append("sex", getSex())
            .append("idType", getIdType())
            .append("idNumber", getIdNumber())
            .append("contact", getContact())
            .append("address", getAddress())
            .append("email", getEmail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
